package org.cytoscape.myapp.my_cyaction_app.internal;

import java.util.List;
import java.util.Vector;

import org.cytoscape.group.CyGroup;
import org.cytoscape.group.CyGroupFactory;
import org.cytoscape.group.CyGroupManager;
import org.cytoscape.model.CyNetwork;

public abstract class CySorter {
	
	private String NameAttribute;
	protected CyGroupManager ManagerGroup;
	protected CyGroupFactory FactoryGroup;
	
	
	public abstract CyGroup GetCyGroupClasificated(CyNetwork network);
	
	public CySorter(CyGroupFactory FactoryGroup, CyGroupManager ManagerGroup, String NameAttribute){
		this.ManagerGroup = ManagerGroup;
		this.FactoryGroup = FactoryGroup;
		this.NameAttribute = NameAttribute;
	}
	
	public void SetName(String NameAttribute){
		this.NameAttribute = NameAttribute;
	}
	public String GetNameAttribute(){
		return this.NameAttribute;
	}
	
}
